package team.pikachu.pikachuclient.beans;

/**
 * Created by Alex on 2017/9/11.
 */

public class User {
    private int id;
    private String userid;
    private String password;
    private String nickname;
    private String phone;
    private String time;
    private Role role;
    private String college;
    private String collegenumber;
    private School school;

    public void setId(int id) {
        this.id = id;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public void setCollegenumber(String collegenumber) {
        this.collegenumber = collegenumber;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public int getId() {
        return id;
    }

    public String getUserid() {
        return userid;
    }

    public String getPassword() {
        return password;
    }

    public String getNickname() {
        return nickname;
    }

    public String getPhone() {
        return phone;
    }

    public String getTime() {
        return time;
    }

    public Role getRole() {
        return role;
    }

    public String getCollege() {
        return college;
    }

    public String getCollegenumber() {
        return collegenumber;
    }

    public School getSchool() {
        return school;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userid='" + userid + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", phone='" + phone + '\'' +
                ", time='" + time + '\'' +
                ", role=" + role +
                ", college='" + college + '\'' +
                ", collegenumber='" + collegenumber + '\'' +
                ", school=" + school +
                '}';
    }
}
